import { Observable } from 'rxjs';

export interface Notification {
  type: string;
  content: string;
  createTime: string;
  messageId: string;
  status: string;
  senderId:any;
  messageRecipients:any;
}
export interface Message {
  type: string;
  content: string;
  createTime: string;
  messageId: string;
  status: string;
  senderId:any;
  messageRecipients:any;
}
export interface Todo {
  type: string;
  content: string;
  createTime: string;
  messageId: string;
  status: string;
  senderId:any;
  messageRecipients:any;
}
export abstract class NoticeData {
  abstract getNotifications(): Observable<Notification[]>;
  abstract getMessages(): Observable<Message[]>;
  abstract getTodos(): Observable<Todo[]>;
}
